const planInfo = {
  state: {
    toPayPlanInfo: {}
  },
  mutations: {
    UPDATE_PLAN_INFO: (state, info) => {
      state.toPayPlanInfo = info
    }
  },
  actions: {
    updatePlanInfo ({ commit }, planInfo) {
      commit('UPDATE_PLAN_INFO', planInfo)
    }
  }
}

export default planInfo
